package com.lyfx.ly.feign;

import com.lyfx.common.to.es.CourseModel;
import com.lyfx.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author lsy
 * @create 2020-07-25-13:37
 */
@FeignClient("lyfx-search")
public interface SearchFeignService {
    @PostMapping("/search/save/course")
    R courseStatusUp(@RequestBody List<CourseModel> courseModel);
}
